
public class Circle {
	
	private double radius;
	private Point point;
	
	private static int totalCircles;
	
	public Circle(){
		radius=0;
		point=new Point(0,0);
		totalCircles++;
	}
	public Circle(double r, Point a){
		radius=r;
		point=a;
		totalCircles++;
	}
	//accessors
	public double getArea(){
		double area=0;
		area=radius*radius*Math.PI;
		return area;
	}
	public double getPerimeter(){
		double perimeter=0;
		perimeter=2*Math.PI*radius;
		return perimeter;
	}
	public double getRadius(){
		return radius;
	}
	public Point getPoint(){
		return point;
	}
	
	//mutators
	public void setPoint(Point p){
		point=p;
	}
	public void setRadius(double r){
		radius=r;
	}
	
	//member methods
	public static int totalCircles(){
		totalCircles=0;
		return totalCircles;
	}
	

	
	
	
	
}
